package com.wn.pettyloan.service;

import com.wn.pettyloan.dto.UserDto;
import com.wn.pettyloan.entity.User;
import com.wn.pettyloan.vo.UserVo;

public interface UserService {
    User selectUserByUserName(String tel);
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);


    User login(UserDto userDto);

    UserVo selectSelf(UserDto userDto);

    int updateUserNameOrImg(UserDto userDto);

    int insertUser(UserDto userDto);
}
